home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / sys / amiga / programmer / 2111 < prev    next >
Encoding:
Text File  |  1996-08-05  |  1.6 KB  |  47 lines

  1. Newsgroups: comp.sys.amiga.programmer
  2. Path: mozart.unx.sas.com!jamie
  3. From: jamie@cdevil.unx.sas.com (James Cooper)
  4. Subject: Re: SetAfPt() in 3.0?
  5. Originator: jamie@cdevil.unx.sas.com
  6. Sender: news@unx.sas.com (Noter of Newsworthy Events)
  7. Message-ID: <DLsu19.L4w@unx.sas.com>
  8. Date: Fri, 26 Jan 1996 17:31:57 GMT
  9. X-Nntp-Posting-Host: cdevil.unx.sas.com
  10. References:  <4e17ft$mk3@toad.stack.urc.tue.nl>
  11. Organization: SAS Institute Inc.
  12.  
  13.  
  14. In article <4e17ft$mk3@toad.stack.urc.tue.nl>, jaco@stack.urc.tue.nl (Jaco Schoonen) writes:
  15. >Hmmm, this is strange:
  16. >
  17. >In my 2.04 reference manual a function 'SetAfPt()' of the graphics.library
  18. >is explained to set the areafillpattern.
  19. >In my V40 autodocs those routine is not mentioned :-(
  20. >
  21. >The modules that came with AmigaE are the latest and the E-compiler
  22. >complains that it's an unknown function if I try to use it.
  23. >
  24. >So, am I stupid, or was this function removed after 2.04? If so, is there
  25. >another way of setting the AreaFillPattern?
  26. >
  27. >Please?
  28.  
  29. SetAfPt() was *never* a function in graphics.library.
  30.  
  31. It is a C macro, and is defined in <graphics/gfxmacros.h> as:
  32.  
  33. #define SetAfPt(w,p,n)    {(w)->AreaPtrn = p;(w)->AreaPtSz = n;}
  34.  
  35. I don't know if any of the macros from gfxmacros.h were ever translated
  36. to E or not, but if not, the E modules are incomplete.
  37.  
  38. -- 
  39. ---------------
  40. Jim Cooper
  41. (jamie@unx.sas.com)                             bix: jcooper
  42.  
  43. Any opinions expressed herein are mine (Mine, all mine!  Ha, ha, ha!),
  44. and not necessarily those of my employer.
  45.  
  46. I'm NOT Politically Correct, but that's because I'm "Sensitivity Challenged."
  47.